package com.liu.sx.util;

public class TestByte2int {


    public static void main(String[] args) {
        byte aa=-10;
        int bb = aa&0xff;
        System.out.println(bb);

        byte cc =100;
        int dd = cc&0xff;
        System.out.println(dd);

        byte yy = -1;
        int nn =yy&0xff;
        System.out.println(nn);

    }

}
